package org.akomantoso.core.data;

import java.io.IOException;

import org.akomantoso.core.io.Output;

/**
 * The element FRBRcountry is the metadata property containing a ISO 3166-1 Alpha-2 code for the country or jurisdiction
 * to be used in the work-level URI of this document
 * 
 * <pre>
 * 	<xsd:element name="FRBRcountry" type="valueType"/>
 * </pre>
 * 
 * @author <a href="mailto:jacques.militello@gmail.com">Jacques Militello</a>
 * 
 * @since http://www.akomantoso.org/2.0
 * 
 */
public final class FRBRcountry extends ValueType {

	public static final String ELEMENT = "FRBRcountry";

	/**
	 * @see org.akomantoso.core.data.ValueType#writeExternal(org.akomantoso.core.io.Output)
	 */
	@Override
	public <T extends Output> void writeExternal(T out) throws IOException {
		out.writeStart(ELEMENT);
		super.writeExternal(out);
		out.writeEnd();
	}

}